<template>
	<view class="brush-container">
		<u-button v-for="(item, index) in dailytype" :key="index" class="brush-btn" :text="item.type" type="primary"
			@click="toDailyInfo(item.id)"></u-button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dailytype: [{
					id: 0,
					type: "阶段面试1"
				}, {
					id: 1,
					type: "阶段面试2"
				}, {
					id: 2,
					type: "阶段面试3"
				}, {
					id: 3,
					type: "阶段面试4"
				}]
			}
		},
		methods: {
			toDailyInfo(id) {
				uni.navigateTo({
					url: "/pages/dailyinfo/dailyinfo?id=" + id
				})
			}
		}
	}
</script>

<style lang="scss">
	.brush-container {
		padding: 20rpx;

		.u-button{
			margin-bottom: 20rpx;

		}
	}
</style>
